﻿

public class Request_UpdateApply : RequestBase
{

    public const string Key = "UpdateApply";

    public UpdateApplyRequestData applyReqData = new UpdateApplyRequestData();

    protected override ISerialize requestData
    {
        get
        {
            return applyReqData;
        }
    }

    public Request_UpdateApply() : base()
    {
        MessagePacket.key = Key;
    }

    public override void OnSend()
    {
        base.OnSend();

        GameDebug.Log($"发送Apply请求：{applyReqData.apply?.result}");
    }

    public override ResponseData NewResponseData() => new ResponseData();

    //public override ResponseBase GetResponseHandler()
    //{
    //    return new Response_UpdateApply();
    //}
}
//public class Response_UpdateApply : ResponseBase
//{
//    public override ResponseData NewResponseData() => new ResponseData();

//    public override void Excuate()
//    {
//        //GameDebug.LogShowy("Request_UpdateApply -> Excuate");

//        (this.request as Request_UpdateApply).onResponse?.Invoke(this);
//    }
//}
